package com.jiyun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiyun.pojo.AddManage;
import com.jiyun.pojo.ShoppingOrder;
import com.jiyun.utils.R;

import java.util.List;

public interface ShoppingOrderService extends IService<ShoppingOrder> {
    R findShoppingOrder(ShoppingOrder shoppingOrder);

    R cancelorder(String id);

    R deleteorder(String id);


    R add(ShoppingOrder shoppingOrder, String s, Integer quantity, Integer totalAmount, Integer shippingFee, Integer deliveryMethod, String orderNote,String name, String tel, String address,Integer aid);

    R updatestatus(String id);

    List<ShoppingOrder> findshoppingbyid(String[] id);

    R updatebz(String id, String bz);

    R findshoppingorderById(String id);

    R delete(String id);

}
